import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import * as Elicons from '@element-plus/icons-vue';

const app = createApp(App)

Object.keys(Elicons).forEach((key) => {
  app.component(key, Elicons[key as keyof typeof Elicons]);
});

app.use(ElementPlus)
app.use(createPinia())
app.use(router)

app.mount('#app')
